package com.umeng.analytics;

import android.content.Context;
import android.text.TextUtils;
import com.umeng.analytics.pro.cc;

public class c {
    private static String[] a;

    static {
        c.a = new String[2];
    }

    public c() {

    }

    public static String[] a(Context arg5) {
        String[] v0;
        if((TextUtils.isEmpty(c.a[0])) || (TextUtils.isEmpty(c.a[1]))) {
            if(arg5 != null) {
                v0 = cc.a(arg5).a();
                if(v0 != null) {
                    c.a[0] = v0[0];
                    c.a[1] = v0[1];
                    return c.a;
                }
            }

            v0 = null;
        }
        else {
            v0 = c.a;
        }

        return v0;
    }

    public static void a(Context arg2, String arg3, String arg4) {
        c.a[0] = arg3;
        c.a[1] = arg4;
        if(arg2 != null) {
            cc.a(arg2).a(arg3, arg4);
        }
    }

    public static void b(Context arg3) {
        c.a[0] = null;
        c.a[1] = null;
        if(arg3 != null) {
            cc.a(arg3).b();
        }
    }
}

